package cn.lefull.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
* @description: 系统科目表
* @author: qijiang email:jiang1211@foxmail.com 
* @date: 2019-03-15 10:07:32 
*/
@Table(name = "subject_info")
@Entity
@Data
public class SubjectInfo extends  BaseEntity implements Serializable  {

	private static final long serialVersionUID = 1L;
	
	/**ID主键**/
	@Column(name = "id")
	@ApiModelProperty(value = "ID主键",notes ="ID主键" )
	private Integer  id ;
	
	/**费用类型业务主键**/
	@Column(name = "subject_info_id")
	@ApiModelProperty(value = "费用类型业务主键",notes ="费用类型业务主键" )
	private String  subjectInfoId ;
	
	/**费用名称**/
	@Column(name = "subject_name")
	@ApiModelProperty(value = "费用名称",notes ="费用名称" )
	private String  subjectName ;
	
	/**1：门店营收，2：平台营收，3：托管自营**/
	@Column(name = "revenue_type")
	@ApiModelProperty(value = "1：门店营收，2：平台营收，3：托管自营",notes ="1：门店营收，2：平台营收，3：托管自营" )
	private Integer  revenueType ;
	
	/**0非系统1系统**/
	@Column(name = "is_system")
	@ApiModelProperty(value = "0非系统1系统",notes ="0非系统1系统" )
	private Integer  isSystem ;
	
	/**操作人**/
	@Column(name = "operator_id")
	@ApiModelProperty(value = "操作人",notes ="操作人" )
	private String  operatorId ;
	
	/**组织ID**/
	@Column(name = "organization_id")
	@ApiModelProperty(value = "组织ID",notes ="组织ID" )
	private String  organizationId ;
	
	/**金额结算优先级; 从1开始,数字越大等级越低**/
	@Column(name = "settlement_priority")
	@ApiModelProperty(value = "金额结算优先级; 从1开始,数字越大等级越低",notes ="金额结算优先级; 从1开始,数字越大等级越低" )
	private Integer  settlementPriority ;
	
	/**备注**/
	@Column(name = "remarks")
	@ApiModelProperty(value = "备注",notes ="备注" )
	private String  remarks ;
	
	/**是否删除; 1:正常, 2:删除**/
	@Column(name = "delete_status")
	@ApiModelProperty(value = "是否删除; 1:正常, 2:删除",notes ="是否删除; 1:正常, 2:删除" )
	private Integer  deleteStatus ;
	
	/****/
	@Column(name = "operator_employee_id")
	@ApiModelProperty(value = "",notes ="" )
	private String  operatorEmployeeId ;
}
